<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>  
<head>  
	<meta charset="UTF-8">  
	<title>通过链接下载文件</title>  
</head>  
<body>  
	<h1>通过链接下载文件</h1>  
	<a href="/Servlet_UploadDownLoad/file/commons-beanutils-1.9.3-bin.zip">压缩包</a>  
	<a href="/Servlet_UploadDownLoad/file/Koala.jpg">图片</a>  
	<h1>通过servlet程序下载文件</h1>  
	<a href="/Servlet_UploadDownLoad/ServletDownload?filename=commons-beanutils-1.9.3-bin.zip">压缩包</a>  
	<a href="/Servlet_UploadDownLoad/ServletDownload?filename=Koala.jpg">图片</a> 
</body>  
</html>  

